class CreateBills < ActiveRecord::Migration
  def change
    create_table :bills do |t|
      t.integer :customer_id
      t.integer :electrician_id
      t.date :on_date
      t.decimal :total_amount
      t.decimal :commission_amount
      t.decimal :tax_amount
      t.boolean :is_cash_bill
      t.boolean :is_new_and_one_time_customer
      t.timestamps
    end
  end
end
